package graduation.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "TeamActivity")
public class TeamActivity {
	@Id
	private String id;
	private String title;//标题
	private String info;//内容
	private String cover;//封面
	private Date date = new Date();//时间
	private String outline;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getInfo() {
		return info;
	}
	public void setInfo(String info) {
		this.info = info;
	}
	public String getCover() {
		return cover;
	}
	public void setCover(String cover) {
		this.cover = cover;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	
	public String getOutLine() {
		return outline;
	}
	public void setOutLine(String outLine) {
		this.outline = outLine;
	}
	@Override
	public String toString() {
		return "TeamActivity [id=" + id + ", title=" + title + ", info=" + info + ", cover=" + cover + ", date=" + date
				+ ", outLine=" + outline + "]";
	}
	
	
}
